package com.yun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yun.dao.BussinessDao;
import com.yun.entity.Bussiness;
import com.yun.service.BussinessService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 业务表(Bussiness)表服务实现类
 *
 * @author makejava
 * @since 2022-01-20 14:51:30
 */
@Service("bussinessService")
public class BussinessServiceImpl extends ServiceImpl<BussinessDao, Bussiness> implements BussinessService {
   @Resource
   BussinessDao bussinessDao;
    @Override
    public List<Bussiness> findAll(Long page, Long limit, Bussiness bussiness) {
        return bussinessDao.findAll(page,limit,bussiness);
    }

    @Override
    public Long getCount(Bussiness bussiness) {
        return bussinessDao.getCount(bussiness);
    }
}

